package com.yixiang.np.dao;

import java.util.List;
import java.util.Map;

import com.yixiang.np.model.po.Dictionary;
import com.yixiang.np.model.po.Dictionarytype;

public interface DictionaryDao {
	public List<Dictionary> findAll(Map<String, Object> params);
	
	public List<Dictionary> findByCode(String code);
	
	public void add(Dictionary dictionary);

	public void delete(Long id);

	public void edit(Dictionary dictionary);

	public Dictionary get(Long id);
	
	public Dictionary checkUnique(Map<String, Object> params);
	
	public Long count();
}
